package com.longcai.cm.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员资产信息-积分变动记录表
 * </p>
 *
 * @author LBX
 * @since 2024-07-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ja_member_log_integral")
@ApiModel(value = "JaMemberLogIntegral对象", description = "会员资产信息-积分变动记录表")
public class JaMemberLogIntegral implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @ApiModelProperty("会员id")
    @TableField("member_id")
    private String memberId;

    @ApiModelProperty("变动类型( 0: 减少 1:增加  )")
    @TableField("log_type")
    private Integer logType;

    @ApiModelProperty("原有数量")
    @TableField("original_num")
    private BigDecimal originalNum;

    @ApiModelProperty("变动数量")
    @TableField("change_num")
    private BigDecimal changeNum;

    @ApiModelProperty("变动后数量")
    @TableField("result_num")
    private BigDecimal resultNum;

    @ApiModelProperty("描述")
    @TableField("log_describe")
    private String logDescribe;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;


}
